package com.ruoyi.business.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.business.domain.bo.HisDormitoryBo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import java.util.List;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 退宿舍对象 his_dormitory
 *
 * @author songzhengsheng
 * @date 2023-06-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("his_dormitory")
public class HisDormitory extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 删除标志（0代表存在 2代表删除)
     */
    @TableLogic
    private String delFlag;
    /**
     * 宿舍id
     */
    private Long dormitoryid;
    /**
     * 照片路径
     */
    private String picurl;
    /**
     * 退宿员工ids
     */
    private String employeeids;
    /**
     * app上传的图片集合
     */
    @TableField(exist = false)
   private List<HisDormitoryBo> images;


    /**
     * 抄表时间
     */
    @TableField(exist = false)
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date readDate;

    /**
     * 度数
     */
    @TableField(exist = false)
    private Integer numberdegrees;

    /**
     * 楼栋名称
     */
    @TableField(exist = false)
    private String buildingName;
    /**
     * 楼层
     */
    @TableField(exist = false)
    private Integer floor;
    /**
     * 房间号
     */
    @TableField(exist = false)
    private String dormitorycode;
}
